<%@ page import="org.icress.fusion.snapshot.CreditControl" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="layout" content="main" />
    <title><g:message code="snapshot.creditControl.create" default="Create CreditControl" /></title>
</head>
<body>
<div class="body">
    <h1><g:message code="snapshot.creditControl.create" default="Create CreditControl" /></h1>
    <g:if test="${flash.message}">
    <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
    </g:if>
    <g:hasErrors bean="${creditControlInstance}">
    <div class="errors">
        <g:renderErrors bean="${creditControlInstance}" as="list" />
    </div>
    </g:hasErrors>
    <g:form action="save" method="post" >
        <div class="dialog">
            <g:render template="/snapshot/creditControl/edit" /> 
        </div>
        <div class="buttons">
            <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'create', 'default': 'Create')}" /></span>
        </div>
    </g:form>
</div>
</body>
</html>
